package com.geovis.emergency.spd.entity.command.pojo.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.geovis.emergency.spd.entity.pc.handler.JsonTypeHandler;
import com.geovis.emergency.spd.entity.pc.handler.PgObjectJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TepDisasterEventVO {
    @ApiModelProperty("主键id")
    private String id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "来源")
    private String source;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "地点")
    private String address;


    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "等级")
    private String level;

    @ApiModelProperty("事件阶段（1-灾前，2-灾中，3-灾后）")
    private String eventStage;

    @ApiModelProperty(value = "报送时间")
    private String submitTime;


    @ApiModelProperty(value = "响应类型(1-响应消息，2-广播消息)")
    private String responseType;


    @ApiModelProperty(value = "状态（1-未推送，2-已推送")
    private String status;

    @ApiModelProperty(value = "来源类型（1-配置库，2-事件上报续报，3-事件上报新增）")
    private String sourceType;

    @ApiModelProperty(value = "geometry")
    private Object geometry;

    @ApiModelProperty("指挥调度事件Id")
    private String schedulingEventId;

    @ApiModelProperty("是否已删除")
    @TableField(fill = FieldFill.INSERT)
    private String isDeleted;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("更新时间")
    private String updateTime;

}
